from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
    return "Hello"

@app.route('/user/<int:user_id>/')
def user_profile(user_id):
    return "Profile page of user #{}".format(user_id)

@app.route('/books/<genre>/')
def books(genre):
    return "All Books in {} category".format(genre)

@app.route('/map/')
def my_map():
    return(str(app.url_map))

if __name__ == "__main__":
    app.run(debug=True)
    print(app.url_map)
